module.exports = {
    lintOnSave: false,
    devServer: {
        port: "8080",
        host: "localhost",
        proxy: {
            "/Daka": {
                target: 'http://192.168.5.119:7001',//后端接口地址
                changeOrigin: true,
                pathRewrite: { "^/Daka": "" }
            },
            "/ly": {
                target: 'http://192.168.5.118:7001', //后端接口地址
                changeOrigin: true,
                pathRewrite: { "^/ly": "" }
            },
            "/dynamic": {
                target: "localhostnpm :7001",
                changeOrigin: true,
                pathRewrite: { "^/dynamic": "" }
            },
            "/login1": {
                target: "http://192.168.5.120:7001",
                changeOrigin: true,
                pathRewrite: {
                    "^/login1": ""
                }
            },
            "/dakajianjie": {
                target: "http://192.168.5.120:7001",
                changeOrigin: true
            },
            "/find": {
                target: 'http://192.168.5.127:7001', //后端接口地址
                changeOrigin: true,
                // pathRewrite: { "/find": "" }
            },
            "/zjr": {
                target: "http://192.168.5.109:7001",
                changeOrigin: true,
                pathRewrite: {
                    "^/zjr": ""
                }
            },
        }
    }
}